#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
int main() {

	char arr[] = "             ";
	int len = strlen(arr);
	int mid = len / 2;
	for (int i = 0; i < mid+1; i++) {
		*(arr + mid + i) = *(arr + mid - i) = '*';
		printf("%s\n", arr);
	}
	for (int i = 0; i < mid; i++) {
		*(arr + i) = *(arr + len-1 - i) = ' ';
		printf("%s\n", arr);
	}
	return 0;
}